<?php
include_once 'path.class.php';
include_once 'rootDir.class.php';
include_once 'dir.class.php';
include_once 'file.class.php';

path::initRoot(dirname(__DIR__));

var_dump(path::$root);

$dir = new dir('myself', __DIR__);
echo "\n";
var_dump(	$dir->abs(),
			$dir->rel(),
			$dir->path());
			
			
$dir = new dir('im/on/g', 'G:\\');
echo "\n";
var_dump(	$dir->abs(),
			$dir->rel(),
			$dir->path());
			
			
$file = file::getFromDir('ichbinein.file', $dir);
echo "\n";
var_dump(	$file->abs(),
			$file->rel(),
			$file->path());
			